feat(preprocessing): preserve attached files through nextclade pipeline#6008
Open
theosanderson-agent wants to merge 1 commit intomainfrom
Open
feat(preprocessing): preserve attached files through nextclade pipeline#6008theosanderson-agent wants to merge 1 commit intomainfrom
theosanderson-agent wants to merge 1 commit intomainfrom
Conversation
Add file preservation to the nextclade preprocessing pipeline so that files attached to submissions are carried through to the processed output. This enables the nextclade pipeline to replace the dummy pipeline for organisms that use file uploads. Changes: - datatypes.py: Add `files` field to `UnprocessedData` - backend.py: Extract files from backend JSON response - prepro.py: Pass files through to `ProcessedData` in no-alignment path - values.yaml: Rename `dummy-organism-with-files` to `test-organism-files` with inlined metadata and nextclade preprocessing - Update file-sharing integration tests for the rename The dummy pipeline and organisms are intentionally kept for now and will be removed in a follow-up PR after validation. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extracted from #5942 per @chaoran-chen's feedback — this PR includes only the new Nextclade pipeline feature (file preservation) without removing the dummy pipeline or organisms.
What's included
backend.py,datatypes.py,prepro.py)test-organism-files: Renamed fromdummy-organism-with-fileswith inlined metadata and switched to nextclade preprocessingfile-sharing.spec.tsandsubmission.page.tsfor the renameWhat's NOT included (deferred to follow-up)
dummy-organismandpreprocessing/dummy/dummy-organismwithebola-sudanThis allows the new feature to be validated in production before the old dummy pipeline is dropped.
Test plan
file-sharing.spec.ts)🤖 Generated with Claude Code
via Happy
🚀 Preview: Add
previewlabel to enable